/* File Info 
 * Author:      李佳乐 
 * CreateTime:  2023/12/25 16:49:41 
 * LastEditor:  李佳乐 
 * ModifyTime:  2023/12/25 17:00:55 
 * Description: 
*/ 
#include<iostream>
using namespace std;

class other{
    public:
    other() {
        cout<<"other class..."<<endl;
    }
};

class base {
    public:
    base(){
        cout<<"base class..."<<endl;
    }
};

class derived:public base {
    public:
    derived(){
        cout<<"derived class..."<<endl;
    }
    other obj;
};

int main() {
    derived tmp;
    system("pause");

}